/********** Library Includes **************************************************/

#include <opencv/cv.h>
#include <opencv/highgui.h>

/********** Local Includes ****************************************************/

#include "livesource.h"

/********** Namespaces ********************************************************/

using namespace cv;
using namespace std;

/********** Public Methods ****************************************************/

LiveSource::LiveSource() :
	m_camera(0)
{
	
}

LiveSource::LiveSource(int camera) :
	m_camera(camera)
{
	
}

Mat LiveSource::next() {

	Mat image;
	m_camera >> image;


	return image;
}